package com.itheima.Jiuye13;

public class TestMyRunnable {
    public static void main(String[] args) {
        MyRunnable mr = new MyRunnable();   //创建MyRunnable对象
        Thread thread = new Thread(mr);     //把MyRunnable对象当做参数传递给Thread
        thread.start();                     //调用Thread的Start方法开启线程
    }
}
